<template>
  <div>
    <el-container>
      <el-header>

        <div class="BackTitle">
          <BackTitle size="55px"></BackTitle>
        </div>

        <div class="exit" @click="toList">
          退出
        </div>



      </el-header>
      <el-main>
<!--        <router-view></router-view>-->
        <div class="progress-bar-long">
          <div class="progress-bar-short"></div>
        </div>
        <div class="title">
          首先，设置活动的举办地
        </div>
        <div class="description">
          一般情况下，举办城市应与主办方所在城市一致。
        </div>
        <div class="input">
          <el-input
              placeholder="搜索城市"
              prefix-icon="el-icon-search"
              v-model="$store.state.editedEvent.city">
          </el-input>
          <el-input
              placeholder="请输入详细地址"
              prefix-icon="el-icon-message"
              v-model="$store.state.editedEvent.address">
          </el-input>
        </div>
      </el-main>
      <el-footer>

        <div class="button">
          <el-button @click="toDetail1">下一步</el-button>
        </div>

      </el-footer>
    </el-container>
  </div>
</template>

<script>
import BackTitle from "@/components/BackTitle";
import BackButton from "@/components/BackButton";
export default {
  components: {BackButton, BackTitle},
  data() {
    return {
      // city: '',
      // address: '',

    }
  },
  methods:{
    toList(){
      this.$router.push({
        name:'List'
      })
    },
    toDetail1(){
      this.$router.push({
        name:'Detail1'
      })
    }
  }
}
</script>

<style scoped>
.el-container{
  width: 100%;
  height: 100%;
  position: absolute;
}

.BackTitle{
  /*!*方便观察分区，画出分区边界*!*/
  /*border: 1px solid red;*/

  width: 30%;

  margin-left: -4%;
  margin-top: -1%;
}

.exit{
  /*!*方便观察分区，画出分区边界*!*/
  /*border: 1px solid red;*/

  float:right;

  margin-top: -1.3%;

  font-size: 20px;
}

/*.progress-bar{*/
/*  !*方便观察分区，画出分区边界*!*/
/*  border: 1px solid red;*/

/*  width: 100%;*/
/*  height: 1%;*/
/*  position: absolute;*/
/*  margin-left: -1.1%;*/
/*  margin-top: 0.7%;*/
/*}*/

.button{
  /*!*方便观察分区，画出分区边界*!*/
  /*border: 1px solid red;*/

  float: right;
  margin-right: 7%;
  margin-top: 0.5%;


}

.el-footer{
  border-top-style: solid;
  border-top-width:1px;
  border-top-color:#BBBBBB;
}
.el-button{
  background-color: #F65858;
  color: #fff;

  font-weight: 700;

  border-radius: 5px;;
  border:none;

  width:240px;
  height: 40px;
}

.progress-bar-long{
  /*!*方便观察分区，画出分区边界*!*/
  /*border: 1px solid red;*/

  background-color: #CECECE;

  width: 100%;
  height: 2%;
  position: absolute;
  margin-left: -1.02%;

}

.progress-bar-short{
  /*!*方便观察分区，画出分区边界*!*/
  /*border: 1px solid red;*/
  background-color: #008294;

  width: 20%;
  height: 100%;
  position: absolute;
}

.title{
  /*方便观察分区，画出分区边界*/
  border: 1px solid red;

  position: absolute;
  margin-top: 5%;
  margin-left: 35%;

  font-size: 50px;
  font-weight: 600;
}
.description{
  /*方便观察分区，画出分区边界*/
  border: 1px solid red;

  position: absolute;
  margin-top: 10%;
  margin-left: 40%;

  font-weight: 600;
}

.input{
  /*方便观察分区，画出分区边界*/
  border: 1px solid red;

  position: absolute;
  margin-top: 20%;
  margin-left: 35%;
}
</style>
